﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DongFangGuoKai.TaskPlatform.Job.WarehousingReturn.Model
{
    /// <summary>
    ///  入库回传实体
    /// </summary>
    public class WarehousingReturnModel
    {
        /// <summary>
        /// 关联验收单号
        /// </summary>
        public string? CheckNumber { get; set; }
        /// <summary>
        /// 库位Id
        /// </summary>
        public int? StoreLocationId { get; set; }
        /// <summary>
        /// 仓位Id
        /// </summary>
        public int? StoreId { get; set; }
        /// <summary>
        /// 用户ID
        /// </summary>
        public int? UserId { get; set; }

        public List<WarehousingReturnDetailModel> Items { get; set; }
    }

    /// <summary>
    /// 入库回传详情
    /// </summary>
    public class WarehousingReturnDetailModel
    {
        /// <summary>
        /// 入库数量
        /// </summary>
        public int? Count { get; set; }

        /// <summary>
        /// 关联的验收单明细项Id
        /// </summary>
        public int? RelationId { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 入库单ID
        /// </summary>
        public int? OrderId { get; set; }
        /// <summary>
        /// 库位id
        /// </summary>
        public string? StoreLocationId { get; set; }
    }
}
